<template>
  <div class="recommendAcc-list">
    <meta name="referrer" content="no-referrer" />
    <div class="recommendAcc-detail" v-for="img in imgList" :key="img">
      <img :src="'https://i0.hdslb.com/bfs/music/d081a5622a632312528b6f99b1e05c9cf3cf2231.jpg@380w_380h_1c.webp'" class="recommendAcc-img" alt="...">
      <div class="card-data" @click="toDetail">
        <h6 class="card-title">title</h6>
        <span>sss</span>
      </div>
    </div>
  </div>

</template>

<script>
export default {
  name: "ReccomendAcc.vue",
  props: {
    imgList: Array
  },
  methods: {
    toDetail: function(e) {
      this.$router.push("/beat/detail");
    }
  }

}
</script>

<style scoped>
.recommendAcc-img {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  /* margin: auto; */
}
.recommendAcc-list {
  display: flex;
  height: 300px;
}
.recommendAcc-detail {
  width: 300px;
}
.card {
  border: 0;
}
.card-data {
  width: 200px;
}
</style>